<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "set_user_up".
 *
 * @property int $id
 * @property float $vip1
 * @property float $vip2
 * @property int $vip2_box_1
 * @property int $vip2_box_team
 * @property int $vip3_box
 * @property int $vip3_2
 * @property int $vip4_box
 * @property int $vip4_2
 * @property float $s1 一星
 * @property float $s2
 * @property float $s3
 * @property float $s4
 * @property float $s5
 * @property int $up_1
 * @property int $up_2
 * @property int $up_3
 * @property int $up_4
 * @property int $up_5
 */
class SetUserUp extends \yii\db\ActiveRecord
{

    use SetUserUpCommon;

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'set_user_up';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['vip1', 'vip2', 's1', 's2', 's3', 's4', 's5'], 'number'],
            [['vip2_box_1', 'vip2_box_team', 'vip3_box', 'vip3_2', 'vip4_box', 'vip4_2', 'up_1', 'up_2', 'up_3', 'up_4', 'up_5'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'vip1' => 'Vip 1',
            'vip2' => 'Vip 2',
            'vip2_box_1' => 'Vip 2 Box  1',
            'vip2_box_team' => 'Vip 2 Box Team',
            'vip3_box' => 'Vip 3 Box',
            'vip3_2' => 'Vip 3  2',
            'vip4_box' => 'Vip 4 Box',
            'vip4_2' => 'Vip 4  2',
            's1' => 'S 1',
            's2' => 'S 2',
            's3' => 'S 3',
            's4' => 'S 4',
            's5' => 'S 5',
            'up_1' => 'Up  1',
            'up_2' => 'Up  2',
            'up_3' => 'Up  3',
            'up_4' => 'Up  4',
            'up_5' => 'Up  5',
        ];
    }
}
